git config
命令手册Manage custom configuration options for git repositories. These configurations can be local (for the current repository) or global (for the current user). More information: https://git-scm.com/docs/git-config.
.git/config
in the current repository):git config --list --local
~/.gitconfig
):git config --list --global
git config --list
git config alias.unstage
git config --global alias.unstage "reset HEAD --"
git config --global --unset alias.unstage
git config --edit
git config --global --edit